import request from '@/utils/request';

export  default{
	getArticle: params => request({ url:  '/news/list', method: 'get',  params }),
	readArticle: params => request({ url:  '/news/detail', method: 'get',  params }),
	createArticle: data => request({ url:  `/news/add`, method: 'post', data }),
}